# $Id: PKGBUILD 64163 2012-02-09 16:45:19Z ttopper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=etherape
pkgver=0.9.12
pkgrel=2
pkgdesc="A graphical network monitor for various OSI layers and protocols"
arch=('i686' 'x86_64')
url="http://etherape.sourceforge.net/"
license=('GPL2')
depends=('libgnomeui' 'libpcap')
makedepends=('rarian' 'gnome-doc-utils')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('8e9cc85e73e44eccb236f488111e02f418ab095d')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}
